package com.fd.dx.mapper;

import com.fd.dx.domain.FW;
import com.fd.dx.sqlprovider.FWProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;

import java.util.List;
import java.util.Map;

/**
 * Created by lenovo on 2018/3/10.
 */
@Mapper
public interface FWMapper {
    /**
     * 查找房屋信息
     * @return
     */
    @SelectProvider(type = FWProvider.class,method = "getFWInfo")
    public List<FW> getFWInfo(Map<String,String> map);
    /**
     * 查找房屋信息
     * @return
     */
    @UpdateProvider(type = FWProvider.class,method = "updateFWInfo")
    public Integer updateFWInfo(FW fw);
}
